package com.victualler.core.common.dto.list;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @Aouthor Guoshichang
 * @Date 16:48 on 2018/7/7.
 * @Function 用于初始化实体类list页面的dto对象
 */
public class InitListPageDto implements Serializable {

    /** 编辑页面跳转的请求 */
    private String editUrl;

    /** 查询列表页面的请求 */
    private String queryUrl;

    //用于动态查询List的Dto
    private List<FormItemDto> queryItemDtoList;
    //用于渲染列表页面
    private List<ColumnItemDto> columnItemDtoList;
    //用于提供翻译和list用的字典大对象
    private Map<String ,DictComDto> dict;

    public InitListPageDto() {
    }

    public InitListPageDto(List<FormItemDto> queryItemDtoList, List<ColumnItemDto> columnItemDtoList) {
        this.queryItemDtoList = queryItemDtoList;
        this.columnItemDtoList = columnItemDtoList;
    }

    public List<FormItemDto> getQueryItemDtoList() {
        return queryItemDtoList;
    }

    public void setQueryItemDtoList(List<FormItemDto> queryItemDtoList) {
        this.queryItemDtoList = queryItemDtoList;
    }

    public List<ColumnItemDto> getColumnItemDtoList() {
        return columnItemDtoList;
    }

    public void setColumnItemDtoList(List<ColumnItemDto> columnItemDtoList) {
        this.columnItemDtoList = columnItemDtoList;
    }

    public String getEditUrl() {
        return editUrl;
    }

    public void setEditUrl(String editUrl) {
        this.editUrl = editUrl;
    }

    public String getQueryUrl() {
        return queryUrl;
    }

    public void setQueryUrl(String queryUrl) {
        this.queryUrl = queryUrl;
    }

    public Map<String, DictComDto> getDict() {
        return dict;
    }

    public void setDict(Map<String, DictComDto> dict) {
        this.dict = dict;
    }
}
